package com.tust.service;

import com.tust.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    int insertUser(User user);
    int deleteUser(String userName);
    int updateUser(User user);
    List<User> selectUserByUserName(String userName);
    List<User> selectUserByPassword(String password);
    List<User> selectUserAll();
}
